<template>
  <div><slot></slot></div>
</template>

<script>
export default {
  name: 'ExcelForm',
  provide() {
    let self = this;
    return {
      ExcelFormIns: {
        getModel() {
          return self.model
        },
        setModel(path, val, defVal) {
          ZY.lodash.set(self.model, path, val, defVal)
        }
      }
    }
  },
  data() {
    return {
      model: {}
    }
  }
}
</script>
